package cn.ffcs.contract.web.view;

import cn.ffcs.contract.model.ContractBussout;

public class ContractBussoutView extends ContractBussout {
	/** 合同名称* */
	private String contractName;
	
	/** 产品类型* */
	private String contractTypeName;

	/** 签约方公司名称* */
	private String signatoriesName;
	//申请人
	private String userCnName;
	private String startTime;
	private String endTime;
	
	private String outTypeCnName;
	public String getContractName() {
		return contractName;
	}
	public void setContractName(String contractName) {
		this.contractName = contractName;
	}
	public String getContractTypeName() {
		return contractTypeName;
	}
	public void setContractTypeName(String contractTypeName) {
		this.contractTypeName = contractTypeName;
	}
	public String getSignatoriesName() {
		return signatoriesName;
	}
	public void setSignatoriesName(String signatoriesName) {
		this.signatoriesName = signatoriesName;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public String getUserCnName() {
		return userCnName;
	}
	public void setUserCnName(String userCnName) {
		this.userCnName = userCnName;
	}
	public String getOutTypeCnName() {
		switch (getOutType().intValue()) {
		case 1:
			outTypeCnName="合作伙伴主动申请退出";
			break;
		case 2:
			outTypeCnName="业务违约退出";
			break;
		case 3:
			outTypeCnName="业务考核退出";
			break;
		case 4:
			outTypeCnName="业务统筹退出";
			break;
		case 5:
			outTypeCnName="资质、版权和合作期到期退出";
			break;	
		default:
			break;
		}
		return outTypeCnName;
	}
	public void setOutTypeCnName(String outTypeCnName) {
		this.outTypeCnName = outTypeCnName;
	}
	
}
